package com.wonder.app.domain;

import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.web3j.abi.datatypes.primitive.Int;

import java.util.Date;

/**
 * @Description:TODO(生产订单实体类)
 *
 * @author: Wonder
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_sfc_proplan")
@ApiModel(value="t_sfc_proplan对象", description="工序计划表")
public class SfcProplan extends Model<SfcProplan> {

    @TableId(value ="id", type = IdType.AUTO)
    @ApiModelProperty(name = "id" , value = "编号")
    private Long id;

    @TableField(value = "Fid")
    @ApiModelProperty(name = "Fid" , value = "单据内码")
    private Long Fid;

    @TableField(value = "BillNo")
    @ApiModelProperty(name = "BillNo" , value = "单据编号")
    private String BillNo;


    @TableField(value = "Date")
    @ApiModelProperty(name = "Date" , value = "单据日期")
    private Date Date;


    @TableField(value = "MaterialNo")
    @ApiModelProperty(name = "MaterialNo" , value = "物料编码")
    private String MaterialNo;

    @TableField(value = "MaterialName")
    @ApiModelProperty(name = "MaterialName" , value = "物料名称")
    private String MaterialName;

    @TableField(value = "Specification")
    @ApiModelProperty(name = "Specification" , value = "规格型号")
    private String Specification;

    @TableField(value = "UnitNo")
    @ApiModelProperty(name = "UnitNo" , value = "单位编码")
    private String UnitNo;

    @TableField(value = "UnitName")
    @ApiModelProperty(name = "UnitName" , value = "单位名称")
    private String UnitName;

    @TableField(value = "Qty")
    @ApiModelProperty(name = "Qty" , value = "数量")
    private Double Qty;

    @TableField(value = "Describe1")
    @ApiModelProperty(name = "Describe1" , value = "工序说明")
    private String Describe1;

    @TableField(value = "MoBillNo")
    @ApiModelProperty(name = "MoBillNo" , value = "生产订单号")
    private String MoBillNo;

    @TableField(value = "MoldStatus")
    @ApiModelProperty(name = "MoldStatus" , value = "是否领用模具")
    private Boolean MoldStatus;

    @TableField(value = "MoldId")
    @ApiModelProperty(name = "MoBillNo" , value = "领用的模具id")
    private String MoldId;

    @TableField(exist = false)
    private String DepartNo;

    @TableField(exist = false)
    private Date fDate;
}
